import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import "./assets/css/globel.css"
import axios from 'axios'
import title from "./components/title/title";
// import draw

Vue.component('blm_tile',title);


Vue.prototype.$http=axios;
axios.defaults.baseURL='http://wang.yaolong.top/';
// https://prima.cqtrust.cn/report?action=
axios.interceptors.request.use(config=>{
  config.headers.Authorization="Bearer "+window.sessionStorage.getItem('token');
  return config
});
Vue.config.productionTip = false;


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
